<div class="ui-messag" v-if="list.length">
	<div class="ui-messag-item" v-for="item in list">
		<div v-if="!item.senderId">
			<i class="ui-item-icon logo" style="background-image: url({{item.avatar || '../../image/message/logo.png'}})"></i>
			<div class="ui-item-content">
				<h4 class="ui-item-title">{{item.content}}</h4>
			</div>
			<div class="ui-item-time">
				{{item.sendTime}}
			</div>
		</div>
		<div v-else>
			<i class="ui-item-icon logo"></i>
			<div class="ui-item-content">
				<h4 class="ui-item-title"><span class="name">{{item.senderName}} </span> 通过了你的查看请求</h4>
				<span class="ui-item-arrow" v-touch:tap="checkDetail(item)">Ta的主页</span>
			</div>
			<div class="ui-item-time">
				{{item.sendTime}}
			</div>
		</div>
	</div>
</div>

<div class="empty" v-else>
	<img src="../../image/common/empty.png" alt="">
	<p>暂无消息</p>
</div>